Method for simulating power supply noise in an on-chip temperature sensor

ABSTRACT

A method for estimating accuracy of an on-chip temperature sensor is provided. A representative power supply waveform having noise is input into a simulation of the on-chip temperature sensor and the accuracy of the on-chip temperature sensor is estimated from the simulation. A computer system for estimating accuracy of an on-chip temperature sensor is also provided. A computer-readable medium having instructions adapted to input a representative power supply waveform having noise into a simulation of an on-chip temperature sensor and estimate accuracy of the on-chip temperature sensor from the simulation is provided.

BACKGROUND OF THE INVENTION

To increase processor performance, clock frequencies used by microprocessors, often referred to as “CPUs,” have increased. Also, as the number of circuits that can be used in a CPU has increased, the number of parallel operations has risen. Examples of efforts to create more parallel operations include increased pipeline depth and an increase in the number of functional units in super-scalar and very-long-instruction-word architectures. As processor performance continues to increase, the result has been a larger number of circuits switching at faster rates. Thus, from a design perspective, important considerations such as power, switching noise, and signal integrity must be taken into account.

Higher frequencies and data throughput cause a processor to consume increased power and run at increased temperatures. Extreme temperatures can slow the speed of transistors that may cause some CPU activities to be incomplete at the end of a cycle. The effect may lead to loss of data in a CPU or incorrect results; therefore, on-chip temperature sensors are employed for monitoring. The availability of temperature information allows the CPU to reduce the number of activities and/or slow the operating frequency. If scaling the number of activities does not alleviate the condition, a standby or power down mode may be entered to protect the CPU. Accurate temperature information is important to prevent over heating or unnecessary reduction in CPU activities.

Higher frequencies for an increased number of circuits also increases switching noise on the power supply. The switching noise may have a local or global effect. Circuits that create large amounts of noise may be relatively isolated; however, they may also affect other circuits, possibly involving very complex interactions between the noise generation and the function of affected circuits. If the components responsible for carrying out specific operations do not receive adequate power in a timely manner, computer system performance is susceptible to degradation. For example, on-chip temperature sensor accuracy varies with power supply noise. Thus, providing power to the components in a computer system in a sufficient and timely manner has become an issue of significant importance.

FIG. 1 shows a section of a typical power supply network (10) of a computer system. The power supply network (10) may be representative of a single integrated circuit, or “chip”, or equally an entire computer system comprising multiple integrated circuits. The power supply network (10) has a power supply (12) that provides power through a power supply line (14) and a ground line (16) to an impedance network Z₁ (18). The impedance network (18) is a collection of passive elements that result from inherent resistance, capacitance, and/or inductance of physical connections. A power supply line (22, 23) and a ground line (24, 25) facilitate power supply to a circuit A (20) and circuit B (26), respectively. Power supply line (23) and ground line (25) also supply circuit C (30) through another impedance network Z₂ (28) and additional impedance networks and circuits, such as impedance network Z_(n) (22) and circuit N (34). The impedance network and connected circuits may be modeled so that the designer, using a simulator, can better understand the behavior of how the circuits interact and interdependencies that exist.

Still referring to FIG. 1, circuit A (20), circuit B (26), circuit C (30), and circuit N (34) may be analog or digital circuits. Also, circuit A (20), circuit B (26), circuit C (30), and circuit N (34) may generate and/or be susceptible to power supply noise. For example, circuit C (30) may generate a large amount of power supply noise that affects the operation of both circuit B (26) and circuit N (34). The designer, in optimizing the performance of circuit B (26) and circuit N 34), requires an understanding of the characteristics of the power supply noise.

SUMMARY OF INVENTION

According to one aspect of the present invention, a method for estimating accuracy of an on-chip temperature sensor comprises inputting a representative power supply waveform having noise into a simulation of the on-chip temperature sensor and estimating accuracy of the on-chip temperature sensor from the simulation.

According to another aspect of the present invention, a computer system for estimating accuracy of an on-chip temperature sensor comprises a processor; a memory; and software instructions stored in the memory adapted to cause the computer system to input a representative power supply waveform having noise into a simulation of the on-chip temperature sensor and estimate accuracy of the on-chip temperature sensor from the simulation.

According to another aspect of the present invention, a computer-readable medium having recorded thereon instructions executable by a processor, the instructions adapted to input a representative power supply waveform having noise into a simulation of an on-chip temperature sensor and estimate accuracy of the on-chip temperature sensor from the simulation.

Other aspects and advantages of the invention will be apparent from the following description and the appended claims.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 shows a typical computer system power supply network.

FIG. 2 shows a temperature sensor circuit test arrangement.

FIG. 3a shows a flow process in accordance with an embodiment of the present invention.

FIG. 3b shows a flow process in accordance with another embodiment of the present invention.

FIG. 4 shows captured power supply waveforms in accordance with another embodiment of the present invention.

FIG. 5 shows a circuit in accordance with another embodiment of the present invention.

DETAILED DESCRIPTION

Embodiments of the present invention relate to a method for estimating accuracy of an on-chip temperature sensor. Embodiments of the present invention further relate to a computer system for estimating accuracy of an on-chip temperature sensor. Embodiments of the present invention also relate to a program executed on a computer for estimating accuracy of an on-chip temperature sensor.

In FIG. 1, the impedance networks (18, 28, 32) may be very complex arrangements of passive elements. The impedances may be the result of, but not limited to, a power supply connection, bulk capacitors, printed circuit board planes, printed circuit board vias, ceramic capacitors, printed circuit board to chip package connections, chip package planes, chip package vias, chip package capacitors, chip package to chip bump or bond wire connections, chip local and global decoupling capacitors, and switching and non-switching circuit elements. A “chip package” for the purpose of this description of the invention may be any package that allows mounting an integrated circuit to a printed circuit board. An integrated circuit, or die, is also referred to as a “chip” in this description. Also, each of the circuits (20, 26, 30, 34) in FIG. 1 may induce power supply noise on the impedance networks (18, 28, 32). The power supply noise characteristics can result from interactions between the circuits (20, 26, 30, 34) coupled with the impedance networks (18, 28, 32).

For a designer to adequately examine the behavior of the power supply noise, a simulation model is desirable. The simulation model is input into a simulation tool so that a computer can calculate the effects of one or more input excitations. One example of a simulation tool is SPICE. Modeling a complex array of impedances is difficult, however. Furthermore, even if an accurate simulation model is created, the computing overhead necessary to simulate one or more circuits with the impedance model network may be too great.

In the absence of an accurate model, worst case simulations are often used. In FIG. 2, a test arrangement (40) for an on-chip temperature sensor (45) is shown. The on-chip temperature sensor (45) is supplied by a DC power supply (43). In this example, the on-chip temperature sensor (45) uses a temperature representative input to generate a temperature dependent output (60) such as a binary representation of the measured temperature. Ideally, the value represented by the binary representation would linearly corresponds to the temperature representative input; however, due to power supply noise, the binary representation may be inaccurate. A low frequency square wave used to simulate power supply noise is one of the most extreme power supply noise tests that can be performed. For example, to model the power supply noise, a square wave generator (44) supplies a peak-to-peak voltage signal which is approximately 20% of the DC power supply (43) voltage. For example, a 0.2 V peak-to-peak square wave may be used with a 1.0 V DC power supply. The square wave generator (44) signal is added to the DC power supply (43) at adder (46). The combined DC power supply (43) and square wave generator (44) output is supplied on power supply line (48) to the on-chip temperature sensor (45). The voltage of the DC power supply (43), frequency and amplitude of the square wave generator (44), and temperature representative input may be changed to model different operating points.

Those skilled in the art will appreciate that the temperature representative input of an on-chip temperature sensor may be a variety of different signals including, but not limited to, a temperature, a numerical value representing a temperature, a temperature representative voltage, and a temperature representative current. Those skilled in the art will also appreciate that the temperature dependent output of an on-chip temperature sensor may have a variety of different signal outputs including, but not limited to, a numerical value representing a temperature, a binary representation of a temperature, a temperature dependent frequency, a temperature dependent voltage, a temperature dependent current, and a temperature dependent pulse width modulation.

FIG. 3a shows an exemplary flow process (100) in accordance with an embodiment of the present invention. At (102), a power supply waveform having noise is captured. A power supply waveform having noise for the purpose of this description may be any power supply that has deviations from a designed voltage. This power supply waveform is captured at some particular location within a power supply network. Those skilled in the art will appreciate that the noise in the captured power supply waveform comes from a dominant source of noise. A circuit under design does not provide a substantial contribution to the noise in the captured power supply waveform. The power supply waveform having noise may be used to adequately represent a large portion of the power supply network and associated circuitry.

In FIG. 1, for example, circuit C (30) may be the dominant source of noise. The temperature sensor under design may be circuit N (34). By capturing a power supply waveform having noise between impedance networks Z₂ (28) and Z_(n) (32), a system response that represents a large portion of the power supply network and associated circuitry is used. For example, the power supply network and associated circuitry may include the power supply (12), impedance network Z₁ (18), circuit A (20), circuit B (26), circuit C (30), and impedance network Z₂ (28). Because the dominant source (circuit C (30)) is included in the power supply network and associated circuitry, a simulation using the power supply waveform having noise, impedance network Z_(n) (32) and circuit N (34) is sufficient.

With regard to simulating a CPU circuit, capturing a power supply waveform on a printed circuit board near the CPU is desirable. The captured power supply waveform will also contain noise as a result of activities on the printed circuit board by one or more circuits. The captured power supply waveform may be the result of physically measuring the voltage on the printed circuit board under operating conditions with measuring equipment. These operating conditions may include extreme conditions in an effort to capture a worst case power supply waveform having noise. These operating conditions may be the result of varying one or more of the following: temperature, voltage, frequency, and manufacturing process. The captured power supply waveform may also be the result of a simulation of some portion of the power supply network. For the purposes of this description, a representative power supply waveform comprises an approximation of an actual power supply waveform as occurs in a realistic system. By capturing the power supply waveform at an intermediate point in the power supply network, a division in design responsibilities and expertise is achieved. A power supply network designer may focus on design and simulation of a portion of the power supply network while a circuit designer may capture representative power supply signals at an appropriate location to be used as an input to their circuits.

The captured power supply waveform is digitized at (104) to be input to a simulation program. The digitization may be a direct point by point representation. The digitization may also be a representative model of the waveform that may include a formulated representation in which an equation characterizes the power supply waveform having noise. Capturing and digitizing the power supply waveform does not preclude the addition of circuits to model another portion of the power supply network not represented in the captured and digitized power supply waveform. This additional portion of the power supply network may be used between the captured power supply waveform and the circuit under design. At (106), elements may be added to the simulation to represent additional power supply network components. For example, a captured power supply signal may be captured on a printed circuit board; however, the circuit to be designed resides on an integrated circuit. At (106), the power supply network elements that may be added include, but are not limited to, connections (parasitics) between the printed circuit board and chip package, connections (parasitics) between the chip package and chip, and connections (parasitics) between the chip power supply network and circuit under design. These added elements may improve the modeling of the actual passive parasitics. At (108), the on-chip temperature sensor under design along with the digitized power supply waveform having noise captured from the printed circuit board at (104) and the parasitics from (106) are simulated. At (108), the computational overhead of the simulation is reduced due to the input of the power supply waveform having noise being used instead of a portion of the power supply network that may contain a large number of elements. Also, the simulation of the on-chip temperature sensor at (108) is more accurate because the digitized power supply waveform having noise is used instead of a square wave.

In FIG. 3b, an exemplary flow process (110) in accordance with another embodiment of the present invention is shown. At (102), a power supply waveform having noise, as described previously, is captured. The captured power supply waveform is digitized at (104), as described previously, to be input to a simulation program. At (108), the on-chip temperature sensor under design along with the digitized power supply waveform having noise captured from the printed circuit board at (104) are simulated. At (108), the computational overhead of the simulation is reduced due to the input of the power supply waveform having noise being used instead of a portion of the power supply network that may contain a large number of elements. Also, the simulation of the on-chip temperature sensor at (108) is more accurate because the digitized power supply waveform having noise is used instead of a square wave.

Those skilled in the art will appreciate that the captured power supply waveform having noise may be obtained from probing a physical system, such as a printed circuit board, chip package, or chip, under various operating conditions. Operating conditions include, but are not limited to, temperature, voltage, frequency, and manufacturing (process) variations. Those skilled in art will also appreciate that the captured power supply waveform having noise may be obtained from probing an integrated circuit under various operating conditions. Furthermore, those skilled in the art will appreciate that the power supply waveform having noise obtained from a physical system may be obtained from a location adjacent to an intended location of the on-chip temperature sensor under various operating conditions. Those skilled in the art will further appreciate that using the power supply waveform having noise in place of a portion of the power supply network reduces the computational load when simulating the circuit.

Those skilled in the art will appreciate that the captured power supply signal having noise may be obtained from simulation data of a modeled printed circuit board's parasitics under various operating conditions. Furthermore, those skilled in art will appreciate that the captured power supply waveform having noise may be obtained from simulation data of a power supply network's parasitics that may include, but is not limited to, the motherboard power supply network, motherboard to integrated circuit connections, and/or integrated circuit power supply network under various operating conditions. Operating conditions include, but are not limited to, temperature, voltage, frequency, and manufacturing (process) variations. Those skilled in the art will further appreciate that the simulation of the circuit using the power supply waveform having noise may be dependent on various operating conditions. Those skilled in the art will also appreciate that the simulation tool used to simulate the power supply waveform having noise does not have to be the same simulation tool used to simulate the circuit using the power supply waveform having noise.

Those skilled in the art will appreciate that capturing the power supply signal having noise, whether from a physical system or simulation, may advantageously be obtained adjacent to an intended location of the on-chip temperature sensor.

Those skilled in the art will appreciate that the noise may be captured separately from the power supply waveform and combined to create the power supply waveform having noise.

Those skilled in the art will appreciate that multiple power supply waveforms having noise may be used simultaneously, and the multiple power supply waveforms having noise may be connected to different locations on the power supply network. Those skilled in the art will further appreciate that the on-chip temperature sensor and additional active circuits may be used in the simulation at (108).

Those skilled in the art will appreciate that the on-chip temperature sensor may be analog, digital, or a combination of both types of circuits.

Those skilled in the art will appreciate that the simulation of the on-chip temperature sensor may be dependent on at least one selected from the group consisting of temperature, voltage, frequency, and manufacturing process.

In FIG. 4, two captured power supply waveforms having noise (202, 204), in accordance with various embodiments of the present invention, are shown. Power supply waveform having noise (202, 204) can be digitized or modeled, and operatively used as the power supply input to the circuit simulation. Both captured power supply waveforms start at time zero at approximately 1 V. At 10 ns, one or more circuits interacting with one or more impedance networks create noise on the power supply waveforms. For power supply waveform (202), the noise effect is reduced compared to power supply waveform (204). Power supply waveforms having noise (202, 204) are generated using two different configurations of the power supply network. The reduced noise on power supply waveform (202) may be the result of a more costly configuration. The function of the temperature sensor may be simulated using power supply waveform (204). If the function of the temperature sensor at least meets the specification, the power supply network using a less costly configuration may be used.

Those skilled in the art will appreciate that power supply waveform (202) and power supply waveform (204) may have been captured under different operating conditions. Those skilled in the art will further appreciate that power supply waveform (202) and power supply waveform (204) may have been captured at different locations within the power supply network.

In FIG. 5, an exemplary circuit (300) in accordance with another embodiment of the present invention is shown. A block diagram drawing of a on-chip temperature sensor (301) is shown. The on-chip temperature sensor (301) has a temperature representative input sensed by the on-chip temperature sensor (301). The on-chip temperature sensor (301) generates a temperature dependent output (384) such as a binary representation in response to the temperature representative input. Ideally, a relationship between the temperature representative input and the value represented by the binary representation is linear. The value represented by the binary representation, however, is affected by power supply noise.

Still referring to FIG. 5, a power supply waveform having noise has been determined from a power supply network and digitized. The power supply waveform having noise is operatively used either through direct digitization or appropriate modeling such as a formulated representation where an equation describes the signal's characteristics. The power supply waveform having noise is input to an impedance network Z_(M) (390). The impedance network Z_(M) (390) supplies power to the on-chip temperature sensor (301) through power supply line (392) and ground line (394). Simulating the on-chip temperature sensor (301) with the representation of the power supply waveform having noise provides a technique to estimate the effect of the power supply noise.

For example, a piece-wise linear representation of the power supply waveform having noise ((202) (in FIG. 4)) may be used to supply the impedance network Z_(M) (390). The power supply waveform having noise (202) may be acquired from a simulation of a printed circuit board from a dominant power supply noise source. The impedance network Z_(M) (390) represents additional impedances between the printed circuit board and the on-chip temperature sensor (301) that is located on an integrated circuit. The power supply waveform having noise may disturb the temperature sensor (301) such that the value represented by the binary representation is inaccurate and not within specification. The accuracy of the on-chip temperature sensor (301) is defined for the purposes of this description as the difference between the designed temperature dependent output (384) and the temperature representative input. Because a realistic power supply waveform having noise is used, the on-chip temperature sensor will not be over designed with respect to temperature inaccuracy. Also, the simulation can be completed in a reasonable amount of time; therefore, the on-chip temperature sensor design and/or the chip parasitics may be modified in an iterative fashion to improve the system's performance.

Those skilled in art will appreciate that a computer system is described for inputting a representation of a power supply waveform having noise into a simulation of an on-chip temperature sensor, and estimating accuracy of the on-chip temperature sensor.

Those skilled in art will appreciate that a computer-readable medium having recorded thereon instructions executable by a processor is described to input a representation of a power supply waveform having noise into a simulation of an on-chip temperature sensor, and estimating accuracy of the on-chip temperature sensor.

Advantages of the present invention may include one or more of the following. In some embodiments, because a representative power supply signal having noise is used, a more accurate circuit simulation may be performed. Realistic results help alleviate costly over design. A circuit designed with more accurate power supply waveforms may result in reduced chip area. The space saved due to the reduced chip area may be used for additional performance enhancing circuits, or may be used to reduce the final chip size, hence cost.

In some embodiments, because a representation of a power supply signal having noise is used, a circuit simulation that requires less computational load may be performed. Accordingly, more iterations in the design process may be afforded.

In some embodiments, because a representation of a power supply signal having noise is used, tasks involved with designing a power supply network and individual circuits may be advantageously divided and performed by experts in their respective areas of expertise.

While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as disclosed herein. Accordingly, the scope of the invention should be limited only by the attached claims. 

What is claimed is:
 1. A method for estimating accuracy of an on-chip temperature sensor, comprising: obtaining a representative power supply waveform having noise; digitizing the representative power supply waveform having noise; inputting the digitized representative power supply waveform having noise into a simulation of the on-chip temperature sensor; and estimating accuracy of the on-chip temperature sensor from the simulation.
 2. The method of claim 1, wherein the representative power supply waveform is obtained from a physical system.
 3. The method of claim 2, wherein the physical system comprises a printed circuit board.
 4. The method of claim 2, wherein the physical system comprises a chip package.
 5. The method of claim 2, wherein the physical system comprises a chip.
 6. The method of claim 1, wherein the representative power supply waveform is obtained from a location on a physical system adjacent to an intended location of the on-chip temperature sensor.
 7. The method of claim 1, wherein the representative power supply waveform is obtained from a simulation of a power supply.
 8. The method of claim 7, wherein the simulation of the power supply is performed using a first simulation tool and the simulation of the on-chip temperature sensor is performed using a second simulation tool.
 9. The method of claim 1, wherein the representative power supply waveform comprises a noise waveform combined with a power supply waveform.
 10. The method of claim 1, wherein the representative power supply waveform is dependent on at least one selected from the group consisting of temperature, voltage, frequency, and manufacturing process.
 11. The method of claim 1, wherein the simulation of the on-chip temperature sensor is dependent on at least one selected from the group consisting of temperature, voltage, frequency, and manufacturing process.
 12. The method of claim 1, wherein estimating accuracy comprises determining a difference between a designed temperature dependent binary representation and a temperature representative input.
 13. A computer system for estimating accuracy of an on-chip temperature sensor, comprising: a processor; a memory; and software instructions stored in the memory adapted to cause the computer system to: obtain a representative power supply waveform having noise; digitize the representative power supply waveform having noise; input the digitized representative power supply waveform having noise into a simulation of the on-chip temperature sensor; and estimate accuracy of the on-chip temperature sensor from the simulation.
 14. The computer system of claim 13, wherein the representative power supply waveform is obtained from a physical system.
 15. The computer system of claim 14, wherein the physical system comprises a printed circuit board.
 16. The computer system of claim 14, wherein the physical system comprises a chip package.
 17. The computer system of claim 14, wherein the physical system comprises a chip.
 18. The computer system of claim 13, wherein the representative power supply waveform is obtained from a location on a physical system adjacent to an intended location of the on-chip temperature sensor.
 19. The computer system of claim 13, wherein the representative power supply waveform is obtained from a simulation of a power supply.
 20. The computer system of claim 19, wherein the simulation of the power supply is performed using a first simulation tool and the simulation of the on-chip temperature sensor is performed using a second simulation tool.
 21. The computer system of claim 13, wherein the representative power supply waveform comprises a noise waveform combined with a power supply waveform.
 22. The computer system of claim 13, wherein the representative power supply waveform is dependent on at least one selected from the group consisting of temperature, voltage, frequency, and manufacturing process.
 23. The computer system of claim 13, wherein the simulation of the on-chip temperature sensor is dependent on at least one selected from the group consisting of temperature, voltage, frequency, and manufacturing process.
 24. The computer system of claim 13, wherein estimating accuracy comprises determining a difference between a designed temperature dependent binary representation and a temperature representative input.
 25. A computer-readable medium having recorded thereon instructions executable by a processor, the instructions adapted to: obtain a representative power supply waveform having noise; digitize the representative power supply waveform having noise; input the digitized representative power supply waveform having noise into a simulation of an on-chip temperature sensor; and estimate accuracy of the on-chip temperature sensor from the simulation.
 26. The computer-readable medium of claim 25, wherein the representative power supply waveform is obtained from a physical system.
 27. The computer-readable medium of claim 26, wherein the physical system comprises a printed circuit board.
 28. The computer-readable medium of claim 26, wherein the physical system comprises a chip package.
 29. The computer-readable medium of claim 26, wherein the physical system comprises a chip.
 30. The computer-readable medium of claim 25, wherein the representative power supply waveform is obtained from a location on a physical system adjacent to an intended location of the on-chip temperature sensor.
 31. The computer-readable medium of claim 25, wherein the representative power supply waveform is obtained from a simulation of a power supply.
 32. The computer-readable medium of claim 31, wherein the simulation of the power supply is performed using a first simulation tool and the simulation of the on-chip temperature sensor is performed using a second simulation tool.
 33. The computer-readable medium of claim 25, wherein the representative power supply waveform comprises a noise waveform combined with a power supply waveform.
 34. The computer-readable medium of claim 25, wherein the representative power supply waveform is dependent on at least one selected from the group consisting of temperature, voltage, frequency, and manufacturing process.
 35. The computer-readable medium of claim 25, wherein the simulation of the on-chip temperature sensor is dependent on at least one selected from the group consisting of temperature, voltage, frequency, and manufacturing process.
 36. The computer-readable medium of claim 25, wherein estimating accuracy comprises determining a difference between a designed temperature dependent binary representation and a temperature representative input. 